package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.SysPermission;
import com.easy.common.bean.SysPermission;

import java.util.List;

/**
 * 对权限的操作
 */
public interface IPermissionService {
    public SysPermission insert(SysPermission permission);

    public SysPermission update(SysPermission permission);

    int delete(Integer id);

    SysPermission getByID(Integer id);

    IPage<SysPermission> getListByPage(IPage page, SysPermission permission);

    List<SysPermission> getList(SysPermission permission);




}
